home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet internetowy / Przegladarki internetowe / Mozilla Seamonkey 1.0.5 pl / seamonkey-1.0.5.pl-PL.win32.installer.exe / MAIL.XPI / bin / chrome / messenger.jar / content / messenger / smtpEditOverlay.xul < prev    next >
Encoding:
Extensible Markup Language  |  2005-04-26  |  5.7 KB  |  132 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!-- ***** BEGIN LICENSE BLOCK *****
  4.  Version: MPL 1.1/GPL 2.0/LGPL 2.1
  5.  
  6.  The contents of this file are subject to the Mozilla Public License Version
  7.  1.1 (the "License"); you may not use this file except in compliance with
  8.  the License. You may obtain a copy of the License at
  9.  http://www.mozilla.org/MPL/
  10.  
  11.  Software distributed under the License is distributed on an "AS IS" basis,
  12.  WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  13.  for the specific language governing rights and limitations under the
  14.  License.
  15.  
  16.  The Original Code is Mozilla Communicator client code, released
  17.  March 31, 1998.
  18.  
  19.  The Initial Developer of the Original Code is
  20.  Netscape Communications Corporation.
  21.  Portions created by the Initial Developer are Copyright (C) 1998-1999
  22.  the Initial Developer. All Rights Reserved.
  23.  
  24.  Contributor(s):
  25.    Alec Flett <alecf@netscape.com>
  26.  
  27.  Alternatively, the contents of this file may be used under the terms of
  28.  either of the GNU General Public License Version 2 or later (the "GPL"),
  29.  or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  30.  in which case the provisions of the GPL or the LGPL are applicable instead
  31.  of those above. If you wish to allow use of your version of this file only
  32.  under the terms of either the GPL or the LGPL, and not to allow others to
  33.  use your version of this file under the terms of the MPL, indicate your
  34.  decision by deleting the provisions above and replace them with the notice
  35.  and other provisions required by the GPL or the LGPL. If you do not delete
  36.  the provisions above, a recipient may use your version of this file under
  37.  the terms of any one of the MPL, the GPL or the LGPL.
  38.  
  39.  ***** END LICENSE BLOCK ***** -->
  40.  
  41. <!DOCTYPE overlay SYSTEM "chrome://messenger/locale/smtpEditOverlay.dtd">
  42.  
  43. <overlay xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  44.          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  45.  
  46.   <script src="smtpEditOverlay.js"/>
  47.  
  48.   <vbox id="smtpServerEditor">
  49.       <groupbox>
  50.           <caption label="&settings.caption;"/>
  51.           <grid flex="1">
  52.               <columns>
  53.                   <column/>
  54.                   <column flex="1"/>
  55.               </columns>
  56.               <rows>
  57.                   <row align="center">
  58.                       <hbox pack="end"><label value="&serverDescription.label;" accesskey="&serverDescription.accesskey;"
  59.                                               control="smtp.description"/></hbox>
  60.                        <textbox id="smtp.description" flex="1" preftype="string" prefstring="mail.smtpserver.%serverkey%.description"/>
  61.                   </row>
  62.           
  63.                   <row align="center">
  64.                       <hbox pack="end"><label value="&serverName.label;" accesskey="&serverName.accesskey;" control="smtp.hostname"/></hbox>
  65.                       <textbox id="smtp.hostname" flex="1" preftype="string" class="uri-element" prefstring="mail.smtpserver.%serverkey%.hostname"/>
  66.                   </row>
  67.                   <row align="center">
  68.                       <hbox pack="end"><label value="&serverPort.label;" accesskey="&serverPort.accesskey;" control="smtp.port"/>
  69.                       </hbox>
  70.  
  71.                       <hbox align="center">
  72.                           <textbox id="smtp.port" size="4"
  73.                                    preftype="int"
  74.                                    prefstring="mail.smtpserver.%serverkey%.port"/>
  75.                           <label value="&serverPortDefault.label;"/>
  76.                           <label id="smtp.defaultPort"/>
  77.                       </hbox>
  78.                   </row>
  79.               </rows>
  80.           </grid> 
  81.       </groupbox>
  82.  
  83.       <separator class="thin"/>
  84.  
  85.       <groupbox>
  86.         <caption label="&security.caption;"/>
  87.         <vbox>
  88.             <!-- This hidden one will hold the integer version
  89.                  of smtp.useUsername -->
  90.             <label hidden="true" id="smtp.authMethod"/>
  91.             <hbox align="center">
  92.             <checkbox id="smtp.useUsername" label="&alwaysUseUsername.label;"
  93.                       accesskey="&alwaysUseUsername.accesskey;"
  94.                       oncommand="onUseUsername(event.target,true);"
  95.                       prefattribute="value"
  96.                       prefstring="mail.smtpserver.%serverkey%.use_username"/>
  97.             </hbox>                
  98.             <vbox class="indent">
  99.               <hbox align="center">
  100.                 <label id="smtpusernamelabel" value="&userName.label;"
  101.                        accesskey="&userName.accesskey;" control="smtp.username"/>
  102.                 <textbox id="smtp.username" flex="1"
  103.                          preftype="string"
  104.                          prefstring="mail.smtpserver.%serverkey%.username"/>
  105.               </hbox>
  106.             </vbox>
  107.         </vbox>
  108.  
  109.         <separator class="thin"/>
  110.  
  111.         <hbox align="center">
  112.            <label value="&isSecure.label;"/>
  113.         </hbox>
  114.  
  115.         <radiogroup id="smtp.trySSL"
  116.                     prefstring="mail.smtpserver.%serverkey%.try_ssl"
  117.                     oncommand="selectProtocol(0);">
  118.             <hbox class="indent">
  119.                 <radio value="0" id="smtp.neverSecure"
  120.                        label="&neverSecure.label;" accesskey="&neverSecure.accesskey;"/>
  121.                 <radio value="1" id="smtp.sometimesSecure"
  122.                        label="&sometimesSecure.label;" accesskey="&sometimesSecure.accesskey;"/>
  123.                 <radio value="2" id="smtp.alwaysSecure"
  124.                        label="&alwaysSecure.label;" accesskey="&alwaysSecure.accesskey;"/>
  125.                 <radio value="3" id="smtp.alwaysSmtpSSL"
  126.                        label="&alwaysSmtpS.label;" accesskey="&alwaysSmtpS.accesskey;"/>
  127.             </hbox>
  128.         </radiogroup>
  129.     </groupbox>
  130.   </vbox>
  131. </overlay>
  132.